﻿Public Class frmNuevoCliente
    Dim nombre As String
    Dim pass As String
    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        TextBox1.Text = ""
        TextBox2.Text = ""
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If TextBox1.Text = "" And TextBox2.Text = "" Then
            MsgBox("DEBE INGRESAR NUEVOS DATOS, NO BEBE DEJARLOS EN BLANCO")
            TextBox1.Text = ""
            TextBox2.Text = ""
            TextBox1.Focus()
            End

        Else
            Me.Hide()
            LogeoPrincipal.Show()
            

        End If
    End Sub

    Private Sub frmNuevoCliente_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        PictureBox1.Load("userlogin.gif")


    End Sub

    Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged
        PictureBox2.Load("secured.gif")
    End Sub

    Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click

    End Sub
End Class